package cc.yihy.storage.qiniu;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Yihy
 * @version V1.0
 * @Package cc.yihy.storage
 * @Description:
 * @date 2017/6/27 15:31
 */

@ConfigurationProperties(prefix = "storage.qiniu")
public class QiniuProperties {
    /**
     * 登录七牛 账号里面可以找到
     */
    private String accessKey;
    private String secretKey;

    /**
     * 存储空间对象的名称
     */
    private String bucketname;

    /**
     * 空间对应的地区
     */
    private String zone;


    /**
     * 图片对外域名
     */
    private String domain;

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getBucketname() {
        return bucketname;
    }

    public void setBucketname(String bucketname) {
        this.bucketname = bucketname;
    }

    public String getZone() {
        return zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }
}
